﻿
%extend bb_event_plot_data_t {
    bb_plot_data_t __getitem__(uint8_t i) {
        if(i < BB_PLOT_POINT_MAX) {
            return $self->plot_data[i];
        } else {
            bb_plot_data_t tmp = {0};
            return tmp;
        }
    }
}

